name: tests221 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin:/opt/pyenv/bin:/tmp/venv-nPN1/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 2129020107 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 env TOX_ENV_NAME: tests221 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 18753 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin/*:launch_tests.sh cmd: ./launch_tests.sh 2.2.1 exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ..........FFFF........F.FFF........ [100%] =================================== FAILURES =================================== ________ TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK1 _________ self = def test_11_xpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRI'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRI'} not found in [{'logical-connection-point': 'XPDR1-NETWORK1', 'connection-map-lcp': 'XPDR1-CLIENT1', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'supporting-port': '1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AMkDwQ7xTmRI'}] transportpce_tests/2.2.1/test01_portmapping.py:133: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_xpdr_portmapping_NETWORK1 _____ TestTransportPCEPortmapping.test_12_xpdr_portmapping_XPDR2_NETWORK1 ______ self = def test_12_xpdr_portmapping_XPDR2_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK2") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-NETWORK2', 'supporting-circuit-pack-name': '1/0/2-PLUG-NET', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT2', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRL'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-NETWORK2', 'supporting-circuit-pack-name': '1/0/2-PLUG-NET', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT2', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRL'} not found in [{'logical-connection-point': 'XPDR1-NETWORK2', 'connection-map-lcp': 'XPDR1-CLIENT2', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'supporting-circuit-pack-name': '1/0/2-PLUG-NET', 'supporting-port': '1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AMkDwQ7xTmRL'}] transportpce_tests/2.2.1/test01_portmapping.py:146: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_xpdr_portmapping_XPDR2_NETWORK1 ______ TestTransportPCEPortmapping.test_13_xpdr_portmapping_XPDR1_CLIENT1 ______ self = def test_13_xpdr_portmapping_XPDR1_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/0/1-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK1', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALj'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/0/1-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK1', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALj'} not found in [{'logical-connection-point': 'XPDR1-CLIENT1', 'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'supporting-circuit-pack-name': '1/0/1-PLUG-CLIENT', 'supporting-port': 'C1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AJUUr6I5fALj'}] transportpce_tests/2.2.1/test01_portmapping.py:159: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_xpdr_portmapping_XPDR1_CLIENT1 ______ TestTransportPCEPortmapping.test_14_xpdr_portmapping_XPDR1_CLIENT2 ______ self = def test_14_xpdr_portmapping_XPDR1_CLIENT2(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT2") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-CLIENT2', 'supporting-circuit-pack-name': '1/0/2-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK2', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALg'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-CLIENT2', 'supporting-circuit-pack-name': '1/0/2-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK2', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALg'} not found in [{'logical-connection-point': 'XPDR1-CLIENT2', 'connection-map-lcp': 'XPDR1-NETWORK2', 'port-qual': 'xpdr-client', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'supporting-circuit-pack-name': '1/0/2-PLUG-CLIENT', 'supporting-port': 'C1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AJUUr6I5fALg'}] transportpce_tests/2.2.1/test01_portmapping.py:172: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_xpdr_portmapping_XPDR1_CLIENT2 _____ TestTransportPCEPortmapping.test_23_spdr_portmapping_XPDR1_NETWORK1 ______ self = def test_23_spdr_portmapping_XPDR1_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR1-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': 'CP1-CFP0', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP1-CFP0-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'Swfw02qXGyI='}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': 'CP1-CFP0', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP1-CFP0-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'Swfw02qXGyI='} not found in [{'logical-connection-point': 'XPDR1-NETWORK1', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-circuit-pack-name': 'CP1-CFP0', 'supporting-port': 'CP1-CFP0-P1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'lcp-hash-val': 'Swfw02qXGyI='}] transportpce_tests/2.2.1/test01_portmapping.py:285: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_spdr_portmapping_XPDR1_NETWORK1 _____ TestTransportPCEPortmapping.test_25_spdr_portmapping_XPDR2_NETWORK2 ______ self = def test_25_spdr_portmapping_XPDR2_NETWORK2(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR2-NETWORK2") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR2-NETWORK2', 'supporting-circuit-pack-name': 'CP6-CFP', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP6-CFP-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'switch', 'port-qual': 'switch-network', 'lcp-hash-val': 'exT821pFtOQ='}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR2-NETWORK2', 'supporting-circuit-pack-name': 'CP6-CFP', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP6-CFP-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'switch', 'port-qual': 'switch-network', 'lcp-hash-val': 'exT821pFtOQ='} not found in [{'logical-connection-point': 'XPDR2-NETWORK2', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-circuit-pack-name': 'CP6-CFP', 'supporting-port': 'CP6-CFP-P1', 'xpdr-number': 2, 'port-oper-state': 'InService', 'xpdr-type': 'switch', 'port-qual': 'switch-network', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'lcp-hash-val': 'exT821pFtOQ='}] transportpce_tests/2.2.1/test01_portmapping.py:317: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_25_spdr_portmapping_XPDR2_NETWORK2 ______ TestTransportPCEPortmapping.test_26_spdr_portmapping_XPDR3_CLIENT3 ______ self = def test_26_spdr_portmapping_XPDR3_CLIENT3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-CLIENT3") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR3-CLIENT3', 'supporting-circuit-pack-name': 'CP3-SFP3', 'rate': '1', 'port-admin-state': 'InService', 'supporting-port': 'CP3-SFP3-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-1GE-ODU0'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AKsQ/HRQdtdN'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR3-CLIENT3', 'supporting-circuit-pack-name': 'CP3-SFP3', 'rate': '1', 'port-admin-state': 'InService', 'supporting-port': 'CP3-SFP3-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-1GE-ODU0'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AKsQ/HRQdtdN'} not found in [{'logical-connection-point': 'XPDR3-CLIENT3', 'rate': '1', 'supported-interface-capability': ['org-openroadm-port-types:if-1GE-ODU0'], 'supporting-circuit-pack-name': 'CP3-SFP3', 'supporting-port': 'CP3-SFP3-P1', 'xpdr-number': 3, 'port-oper-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-client', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'lcp-hash-val': 'AKsQ/HRQdtdN'}] transportpce_tests/2.2.1/test01_portmapping.py:330: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_26_spdr_portmapping_XPDR3_CLIENT3 _____ TestTransportPCEPortmapping.test_27_spdr_portmapping_XPDR3_NETWORK1 ______ self = def test_27_spdr_portmapping_XPDR3_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-circuit-pack-name': 'CP3-CFP0', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP3-CFP0-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'ANnxoi7K8q30'}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-circuit-pack-name': 'CP3-CFP0', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'CP3-CFP0-P1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'ANnxoi7K8q30'} not found in [{'logical-connection-point': 'XPDR3-NETWORK1', 'rate': '100', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-circuit-pack-name': 'CP3-CFP0', 'supporting-port': 'CP3-CFP0-P1', 'xpdr-number': 3, 'port-oper-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'lcp-hash-val': 'ANnxoi7K8q30'}] transportpce_tests/2.2.1/test01_portmapping.py:343: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_27_spdr_portmapping_XPDR3_NETWORK1 =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_XPDR2_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_XPDR1_CLIENT1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_XPDR1_CLIENT2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_23_spdr_portmapping_XPDR1_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_25_spdr_portmapping_XPDR2_NETWORK2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_26_spdr_portmapping_XPDR3_CLIENT3 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_27_spdr_portmapping_XPDR3_NETWORK1 8 failed, 27 passed in 91.77s (0:01:31)